package com.example.octopus.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
@Data
public class Comment {
    @JsonProperty("_id")
    private String _id;
    @JsonProperty("avatar")
    private String avatar;
    @JsonProperty("content")
    private String content;
    @JsonProperty("commentId")
    private String commentId;
    @JsonProperty("timestamp")
    private String timestamp;
    @JsonProperty("userId")
    private String userId;
    @JsonProperty("username")
    private String username;
    @JsonProperty("productId")
    private String productId;


}
